Skip to content

package_is_path: do not check if path exists#1779

Open
StaticRocket wants to merge 1 commit intopypa:mainfrom
StaticRocket:bugfix/paths
Open

package_is_path: do not check if path exists#1779
StaticRocket wants to merge 1 commit intopypa:mainfrom
StaticRocket:bugfix/paths

Conversation

@StaticRocket
Copy link
Copy Markdown

@StaticRocket StaticRocket commented Apr 2, 2026

Having separators is the real indicator that the user is doing something wrong. We shouldn't unnecessarily error out in the off chance the user has a directory that has the same name as a package in the current working directory.

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)

  • ran the linter to address style issues (pre-commit run --all-files)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in changelog.d/ folder
  • updated/extended the documentation

Not entirely sure if this needs a test or documentation update considering it's so small and there aren't many tests for specific functions outlined in the main.py.

Fixes: #1778

Having separators is the real indicator that the user is doing something
wrong. We shouldn't unnecessarily error out in the off chance the user
has a directory that has the same name as a package in the current
working directory.

Signed-off-by: Randolph Sapp <rs@ti.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not check if the package is a path in the current working directory

1 participant